﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login2.aspx.cs" Inherits="Login.Login2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>解忧注册</title>
</head>
<body style="height: 97px; width: 1131px; background-color: #F0F0F0;">
    <form id="form1" runat="server">
        <div style="background-image: url('Image/zhuce.jpg'); position: absolute; z-index: auto; width: 298px; height: 502px; top: 50px; left: 429px; text-align: center; font-family: 方正中倩_GBK; font-size: medium;">
            <br />
            <br />
            <br />
            <br />
            <asp:Label ID="Label1" runat="server" Text="注册解忧用户"></asp:Label>
            <br />
            <asp:Image ID="Image1" runat="server" Height="100px" Width="100px" />
            <br />
            （选择漂亮的头像吧）<asp:DropDownList ID="ddl1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="True" Height="16px" Width="62px">
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            <br />
            用户名：<asp:TextBox ID="txtUsername1" runat="server" BorderStyle="Inset"></asp:TextBox>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername1" ErrorMessage="*用户名不能为空" Font-Size="X-Small" ForeColor="#FF0066">*用户名不能为空</asp:RequiredFieldValidator>
            <br />
            <br />
            设置密码：<asp:TextBox ID="txtPwd1" runat="server" BorderStyle="Inset" TextMode="Password"></asp:TextBox>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd1" EnableTheming="True" ErrorMessage="*密码不能为123456" ForeColor="#FF3399" InitialValue="123456" style="font-size: x-small">*密码不能为123456</asp:RequiredFieldValidator>
            <br />
            <br />
            QQ邮箱：<asp:TextBox ID="txtQq" runat="server" BorderStyle="Inset"></asp:TextBox>
            <br />
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtQq" ErrorMessage="邮箱格式不正确" Font-Size="X-Small" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*邮箱格式不正确</asp:RegularExpressionValidator>
            <br />
            <asp:Button ID="Btnzhuce" runat="server" BackColor="Black" ForeColor="White" OnClick="Btnzhuce_Click" style="margin-left: 0px" Text="注册" />
            <br />
            <asp:Label ID="lblInfo" runat="server" Font-Size="X-Small"></asp:Label>
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:HyperLink ID="HyperLink2" runat="server" Font-Underline="False" NavigateUrl="~/Index.aspx" style="font-size: x-small; color: #000000">》已有用户去登陆</asp:HyperLink>
            <br />
            <br />
            <div style="background-image: url('Image/注册配文.jpg'); position: absolute; z-index: auto; width: 300px; height: 300px; top: 202px; left: 303px">
            </div>
            <br />
        </div>
        <div style="width: 301px; height: 257px; top: 50px; left: 729px; position: absolute; z-index: auto; right: 113px;">
            <br />
            <br />
            <br />
&nbsp;&nbsp;
            <asp:Image ID="Image2" runat="server" Height="178px" ImageUrl="~/image/img-RGozMW1pQXBVWk4vR2JIdUFMTjd2TjhXdjVaWUZqbW40NVVxTEJXeHpXbkg1QlBCUnN5RDhBPT0.gif" Width="214px" />
            <br />
            <br />
            <br />
&nbsp;&nbsp;
            <br />
            <br />
&nbsp;&nbsp;
        </div>
    </form>
</body>
</html>
